package com.vincent.kdp.Activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;

import com.vincent.kdp.R;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class CounterManagerActivity extends AppCompatActivity {

    @Bind(R.id.toolbar_center_tv)
    TextView toolbarCenterTv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_counter_manager);
        ButterKnife.bind(this);
        toolbarCenterTv.setText("柜台管理");

    }

    @OnClick({R.id.back_img, R.id.counter_manager_up, R.id.counter_manager_move, R.id.counter_manager_list})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.back_img:
                finish();
                break;
            case R.id.counter_manager_up:
                startActivity(new Intent(this, TankActivity.class));
                break;
            case R.id.counter_manager_move:
               // startActivity(new Intent(this, CounterManagerActivity.class));
                Toast.makeText(this,"暂未开发",Toast.LENGTH_SHORT).show();
                break;
            case R.id.counter_manager_list:
                startActivity(new Intent(this, CounterListActivity.class));
                break;
        }
    }
}
